<template>
  <Result :title="params.title" :sub-title="params.subTitle">
    <template #extra>
      <a-button type="primary">返回首页11</a-button>
    </template>
    <template #icon>
      <img :src="notDataSvg" />
    </template>
  </Result>
</template>

<script lang="ts" setup>
import { ref, onMounted, reactive, } from 'vue';
import { Result, Button } from 'ant-design-vue';
import notDataSvg from '/@/assets/svg/no-data.svg';

const params = reactive({
  status: '500', // 可以是 'success' | 'error' | '404' | 'info' | 'warning' | '500'
  subTitle: '抱歉，页面无数据',
  title: '500',
})
</script>
